package messages;

import info.Admin;
import messages.user.LoginQueryStatus;

import java.io.Serializable;

public class AdminLoginResponseMessage extends Message implements Serializable {
    private LoginQueryStatus queryStatus;
    private Admin admin;

    public AdminLoginResponseMessage() {
        super(MSG_TYPE.MSG_ADMIN_LOGIN_ACK);
    }

    public Admin getAdmin() {
        return admin;
    }

    public LoginQueryStatus getQueryStatus() {
        return queryStatus;
    }

    public void setQueryStatus(LoginQueryStatus queryStatus) {
        this.queryStatus = queryStatus;
    }

    public void setAdmin(Admin admin) {
        this.admin = admin;
    }
}

